package com.chat.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author weikjie
 * @since 2024-03-29
 */
@TableName("t_message_channel_mapping")
public class MessageChannelMapping implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long fromId;

    private Long toId;

    private Boolean isGroup;

    private Boolean isActive;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getFromId() {
        return fromId;
    }

    public void setFromId(Long fromId) {
        this.fromId = fromId;
    }
    public Long getToId() {
        return toId;
    }

    public void setToId(Long toId) {
        this.toId = toId;
    }
    public Boolean getIsGroup() {
        return isGroup;
    }

    public void setIsGroup(Boolean isGroup) {
        this.isGroup = isGroup;
    }
    public Boolean getIsActive() {
        return isActive;
    }

    public void setIsActive(Boolean isActive) {
        this.isActive = isActive;
    }

    @Override
    public String toString() {
        return "MessageChannelMapping{" +
            "id=" + id +
            ", fromId=" + fromId +
            ", toId=" + toId +
            ", isGroup=" + isGroup +
            ", isActive=" + isActive +
        "}";
    }
}
